package cn.zhangbo.type;

/**
 * 一天中时间段枚举.
 *
 * @author zhangbo
 * @since 1.0.0
 */
public enum DayPeriod {
    unknown(0, "未知"), morning(1, "上午"), afternoon(2, "下午"), evening(3, "晚上");
    private int code;
    private String desc;

    private DayPeriod(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
